package com.volokh.danylo.layoutmanager.scroller;

import ohos.agp.components.Component;

public interface ScrollHandlerCallback {
    int getChildCount();

    Component getChildAt(int index);

    int getHeight();

    int getFirstVisiblePosition();

    int getDecoratedTop(Component view);

    int getPaddingTop();

    int getLastVisiblePosition();

    int getItemCount();

    void removeView(Component view);

    void incrementFirstVisiblePosition();

    void incrementLastVisiblePosition();

    void addView(Component view);

    void decrementLastVisiblePosition();

    void decrementFirstVisiblePosition();

    void addView(Component newFirstView, int position);
}
